package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.RecommendUser;
import com.tanhua.dubbo.server.vo.PageInfo;

public interface RecommendUserApi {


    /**
     * 查询一位得分最高的推荐用户
     */
    RecommendUser queryWithMaxScore(Long userId);


    /**
     *
     * 按照得分倒序
     * @param userId
     * @param PageNum
     * @param pageSize
     * @return
     */
    PageInfo<RecommendUser> queryPageInfo(Long userId, Integer PageNum, Integer pageSize);
}
